﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;
using com.nm.library;

namespace DistributeAPI.Model
{
    /// <summary>
    /// 生产订单对应仓库Model
    /// </summary>
    public class ProductionOrderWarehouseModel
    {
        /// <summary>
        /// 品牌
        /// </summary>
        [ParamDescription("品牌")]
        public string ExtrSource { get; set; } = UserInfo.UserExtrSource;
        /// <summary>
        /// 公司代码
        /// </summary>
        [ParamDescription("公司代码")]
        public string CompanyID { get; set; } = UserInfo.UserCompanyId;

        //外发加工单号
        [ParamDescription("外发加工单号")]
        public string BillNo { get; set; }

        //仓库ID
        [ParamDescription("仓库ID")]
        public string StockId { get; set; }


        //仓库名称
        [ParamDescription("仓库名称")]
        public string StockName { get; set; }
    }

    /// <summary>
    /// 接收前台传过来的值
    /// </summary>
    public class ProductionOrderWarehouseListModel : ProductionOrderWarehouseModel
    {
        /// <summary>
        /// 虚拟仓ID列表
        /// </summary>
        public IList<string> WarehouseList { get; set; }
    }
}
